package net.towee.server;

import com.google.inject.Provider;
import com.mycila.event.Dispatcher;
import com.mycila.event.Dispatchers;
import com.mycila.event.ErrorHandlers;

public class DispatcherProvider implements Provider<Dispatcher> {

	@Override
	public Dispatcher get() {
		return Dispatchers.asynchronousSafe(ErrorHandlers.rethrow());
	}

}
